package com.shop.cereshop.business.dl.logic.service;

import com.shop.cereshop.business.dl.logic.domain.BuyerWithdrawal;
import com.shop.cereshop.business.dl.logic.domain.BuyerWithdrawalGetAllParam;
import com.shop.cereshop.business.dl.logic.domain.BuyerWithdrawalGetByIdParam;
import com.shop.cereshop.commons.domain.business.CerePlatformBusiness;
import com.shop.cereshop.commons.domain.buyer.CereBuyerUser;
import com.shop.cereshop.commons.domain.common.Page;
import com.shop.cereshop.commons.exception.CoBusinessException;

import javax.servlet.http.HttpServletRequest;

public interface CereBuyerWithdrawalService {
    Page getAll(BuyerWithdrawalGetAllParam param) throws CoBusinessException;

    BuyerWithdrawal getById(Long withdrawalId) throws CoBusinessException;

    void handle(HttpServletRequest request, BuyerWithdrawalGetByIdParam param, CerePlatformBusiness user, CereBuyerUser user2) throws CoBusinessException;
}
